﻿//  --------------------------------
//  Copyright (c) AW Systems, Inc. All rights reserved.
//  This source code is made available under the terms of the Microsoft Public License (Ms-PL)
//  http://www.codeplex.com/SLAM/license
//  ---------------------------------

using System;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;

namespace Slam.Configuration
{
	/// <summary>
	/// A SLAM configuration section that provides support for Type ID Definitions.
	/// </summary>
	public abstract class TypeIdDefinitionSection
	{
		/// <summary>
		/// Gets the default ID definition stored in the ConnectionStrings configuration section.
		/// </summary>
		/// <returns></returns>
		public abstract TypeIdDefinition Default
		{
			get;
		}

		/// <summary>
		/// Gets an ID definition stored in the TypeIdDefinitions configuration section.
		/// </summary>
		/// <returns></returns>
		public abstract TypeIdDefinition GetTypeIdDefinition(string name);
	}
}
